package org.lds.scheduled.job.common.enums;

public enum ErrorEnum implements ErrCodeEnum {
    SYSTEM_ERROR("SYSTEM_ERROR", "系统错误"),
    REST_FAIL("REST_FAIL", "HTTP远程调用异常"),
    ;

    private String code;
    private String message;

    ErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getErrCode() {
        return code;
    }

    @Override
    public String getErrMsg() {
        return message;
    }

}
